<?php
/*
+-----------------------------------------------------------------------------+
| $Id: *.php 2009-08-18 08:41:22Z Bleakwind $
| Copyright (c) 2003-2010 Bleakwind (www.weaverdream.com)
| http://www.weaverdream.com/
+-----------------------------------------------------------------------------+
*/

// Template variable
$public_var = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_post_attach'                       => "upload/post_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_friendlink_cover'                  => "upload/friendlink_cover",
    'dir_friendlink_attach'                 => "upload/friendlink_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_attach'                     => "upload/member_attach",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_post_attach'                 => "build/post_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_friendlink_cover'            => "build/friendlink_cover",
    'dir_build_friendlink_attach'           => "build/friendlink_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_attach'               => "build/member_attach",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Robsofa",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

// Setting variable
$SETTING = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_post_attach'                       => "upload/post_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_friendlink_cover'                  => "upload/friendlink_cover",
    'dir_friendlink_attach'                 => "upload/friendlink_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_attach'                     => "upload/member_attach",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_post_attach'                 => "build/post_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_friendlink_cover'            => "build/friendlink_cover",
    'dir_build_friendlink_attach'           => "build/friendlink_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_attach'               => "build/member_attach",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Robsofa",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

$VERIFYCODE = array(
    'vc_login',
    'vc_register',
    'vc_forgetpass',
    'vc_post',
    'vc_reply',
);

// Verify variable
$SYSCHECK = array(
    'list_privilege_member'    => array(
                                'if_editpost'               => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost'],
                                'if_editpost_post'          => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost_post'],
                                'if_editpost_time'          => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost_time'],
                                'if_editpost_topic'         => $LANGUAGE['s']['_public']['list_privilege_member']['if_editpost_topic'],
                                'if_delpost'                => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost'],
                                'if_delpost_post'           => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost_post'],
                                'if_delpost_time'           => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost_time'],
                                'if_delpost_topic'          => $LANGUAGE['s']['_public']['list_privilege_member']['if_delpost_topic'],
                                'if_forbidvisit'            => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidvisit'],
                                'if_forbidpost'             => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidpost'],
                                'if_forbidopus'             => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidopus'],
                                'if_forbidavatar'           => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidavatar'],
                                'if_forbidsign'             => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidsign'],
                           ),

    'list_fileallow_member'    => array(
                                'index'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['index'],

                                'register'                  => $LANGUAGE['s']['_public']['list_fileallow_member']['register'],
                                'login'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['login'],
                                'forgetpass'                => $LANGUAGE['s']['_public']['list_fileallow_member']['forgetpass'],
                                'member_list'               => $LANGUAGE['s']['_public']['list_fileallow_member']['member_list'],
                                'member_view'               => $LANGUAGE['s']['_public']['list_fileallow_member']['member_view'],

                                'topic'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['topic'],
                                'attach'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['attach'],
                                'post'                      => $LANGUAGE['s']['_public']['list_fileallow_member']['post'],
                                'reply'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['reply'],
                                'edit'                      => $LANGUAGE['s']['_public']['list_fileallow_member']['edit'],
                                'channel'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['channel'],
                                'article_list'              => $LANGUAGE['s']['_public']['list_fileallow_member']['article_list'],
                                'article'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['article'],
                                'friendlink_list'           => $LANGUAGE['s']['_public']['list_fileallow_member']['friendlink_list'],
                                'friendlink'                => $LANGUAGE['s']['_public']['list_fileallow_member']['friendlink'],

                                'cp'                        => $LANGUAGE['s']['_public']['list_fileallow_member']['cp'],
                                'cp_password'               => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_password'],
                                'cp_profile'                => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_profile'],
                                'cp_detail'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_detail'],
                                'cp_avatar'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_avatar'],
                                'cp_config'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_config'],
                                'cp_friend'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_friend'],
                                'cp_favorite'               => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_favorite'],
                                'cp_pm_in'                  => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_pm_in'],
                                'cp_pm_out'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_pm_out'],
                                'cp_pm_send'                => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_pm_send'],
                                'cp_prompt'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_prompt'],

                                'prompt'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['prompt'],
                           ),

    'list_login_member'        => array(
                                'post',
                                'reply',
                                'edit',
                                'member_view',
                                'member_list',

                                'cp',
                                'cp_password',
                                'cp_profile',
                                'cp_detail',
                                'cp_avatar',
                                'cp_config',
                                'cp_friend',
                                'cp_favorite',
                                'cp_pm_in',
                                'cp_pm_out',
                                'cp_pm_send',
                                'cp_prompt',
                           ),

    'list_except_member'       => array(
                                'curve',
                                'verifycode',
                           ),
);
?>
